<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>创建一个Vue实例</title>

</head>
<body>
<div class="box1"></div>
<div class="box2"></div>
<div id="app"><h1>{{ msg }}</h1></div>
<script src="vue.global.js"></script>
<script>
    const app= Vue.createApp({
        data(){
           return{
               msg:'传智播客'
           }

        }
    })
    app.mount('#app')
</script>
</body>
</html>
